package com.currency.response;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@Api(value = "基础响应请求类", tags = "基础响应请求类")
public class BaseResponse {
    @ApiModelProperty(value = "返回码")
    public String errCode;
    @ApiModelProperty(value = "返回信息")
    public String errMsg;

    public BaseResponse() {
    }

    public BaseResponse(String code, String msg) {
        this.errCode = code;
        this.errMsg = msg;
    }
}
